// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}


// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

// 全局loading层级设置最高
.full-loading {
  z-index: 9999;
}

// 文本类型btn移除padding
.el-button--text {
  padding: 0;
}

.el-table__expand-icon {
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
}

// 换icon
.el-table__expand-icon .el-icon-arrow-right:before {
  content: "\e6d9";
  padding: 2px;
  border: 1px solid #ccc;
  // font-size: 20px;
}

.el-table__expand-icon--expanded .el-icon-arrow-right:before {
  content: "\e6d8";
  // font-size: 20px;
}


.el-table .el-table__fixed-header-wrapper th,
.el-table .el-table__header-wrapper th {
  word-break: break-word;
  background-color: #F4F7FA;
  color: #304265;
  height: 40px;
  font-size: 13px;
}
.el-table td.el-table__cell,
.el-table th.el-table__cell.is-leaf {
  border-bottom: 1px solid #dcdfe6;
}
.el-card__header,
.el-table::before {
  border-bottom: 1px solid #dcdfe6;
}

.el-table td,
.el-table th {
  padding: 10px 0;
}

/* switch按钮样式 */
.switch .el-switch__label {
  position: absolute;
  display: none;
  color: #fff !important;
}

/*打开时文字位置设置*/
.switch .el-switch__label--right {
  z-index: 1;
}

/* 调整打开时文字的显示位子 */
.switch .el-switch__label--right span {
  margin-right: 9px;
}

/*关闭时文字位置设置*/
.switch .el-switch__label--left {
  z-index: 1;
}

/* 调整关闭时文字的显示位子 */
.switch .el-switch__label--left span {
  margin-left: 9px;
}

/*显示文字*/
.switch .el-switch__label.is-active {
  display: block;
}

/* 调整按钮的宽度 */
.switch.el-switch .el-switch__core,
.el-switch .el-switch__label {
  width: 70px !important;
  margin: 0;
}